package cc.lucien.strategy;


/**
 * @author lucien-ma
 * @date 2021/10/29
 * @apiNote
 */
public class Calculator {
    private Operation operation;

    public void setOperation(Operation operation) {
        this.operation = operation;
    }

    public int doOperation(int num1, int num2) {
        return operation.doOperation(num1, num2);
    }
}
